import React from 'react'
import { NavBar } from 'antd-mobile'
import { useNavigate } from 'react-router-dom';
import ViewTabs from './ViewTabs';


export default React.memo( function Examine() {
  const history = useNavigate()
  const back = () => {
    sessionStorage.setItem('integralShop', JSON.stringify({ flag: true }))
    history(-1)
  }
  return (
    <div className='view'>
      <div className='hader'>
        <NavBar onBack={back}>我的订单</NavBar>
      </div>

      <div >
        <ViewTabs />
      </div>
    </div>
  )
})
